package dave.hibernate.lab;

import java.sql.Blob;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;


@Entity
@Table(name="BlodTest", schema="test")
public class BlodTest {
	Long id;
	String beans;
	char[] ming;
	Character[] witness;
	java.sql.Clob sqlClob;
	Blob sqlBlod;
	byte[] me;
	
	@Id
	@GeneratedValue
	@Column (name="id")
	public Long getId(){return id;}
	
	@Lob
	public String getBeans(){return beans;}
}
